package com.gagakuai.bpm.dao.mapper;


import com.gagakuai.bpm.domian.entity.BpmDeadMessageLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BpmDeadMessageLogMapper {


    int deleteByPrimaryKey(Integer bpmDeadMsgId);

    int insert(BpmDeadMessageLog record);

    int insertSelective(BpmDeadMessageLog record);

    BpmDeadMessageLog selectByPrimaryKey(Integer bpmDeadMsgId);

    int updateByPrimaryKeySelective(BpmDeadMessageLog record);

    int updateBatch(List<BpmDeadMessageLog> list);

    int batchInsert(@Param("list") List<BpmDeadMessageLog> list);


    /*
     * 根据消息查询数据
     */
    BpmDeadMessageLog selectByMsgId(@Param("msgId") String correlationId);
}